﻿using Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnesSystem.Models
{
    public class NoTypeAggregateModel : ObservableObject
    {
        //开始时间，排序
        private DateTime startDataTime;
        //类型
        private string itemType;
        private PatientDrugsModel patientDrugsModel;
        private PatientEventsModel patientEventsModel;
        //是否显示结束checkBox
        private string isShowEnd = "Visible";
        //是否选中checkBox
        private bool selEndCheckBox = false;
        //用时
        private string useTime;
        //是否显示结束时间
        private string isShowEndTime = "Hidden";
        //是否显示带走
        private string isShowTakeAway = "Visible";
        //判断单次，持续，输血输液
        private string noType = "";
        public DateTime StartDataTime
        {
            get
            {
                return startDataTime;
            }

            set
            {
                startDataTime = value;
                RaisePropertyChanged("StartDataTime");
            }
        }

        public PatientDrugsModel PatientDrugsModel
        {
            get
            {
                return patientDrugsModel;
            }

            set
            {
                patientDrugsModel = value;
                RaisePropertyChanged("PatientDrugsModel");
            }
        }

        public PatientEventsModel PatientEventsModel
        {
            get
            {
                return patientEventsModel;
            }

            set
            {
                patientEventsModel = value;
                RaisePropertyChanged("PatientEventsModel");
            }
        }

        public string IsShowEnd
        {
            get
            {
                return isShowEnd;
            }

            set
            {
                isShowEnd = value;
                RaisePropertyChanged("IsEnd");
            }
        }

        public string IsShowTakeAway
        {
            get
            {
                return isShowTakeAway;
            }

            set
            {
                isShowTakeAway = value;
                RaisePropertyChanged("IsTakeAway");
            }
        }

        public string ItemType
        {
            get
            {
                return itemType;
            }

            set
            {
                itemType = value;
                RaisePropertyChanged("ItemType");
            }
        }

        public string NoType
        {
            get
            {
                return noType;
            }

            set
            {
                noType = value;
                RaisePropertyChanged("NoType");
            }
        }

        public bool SelEndCheckBox
        {
            get
            {
                return selEndCheckBox;
            }

            set
            {
                selEndCheckBox = value;
                RaisePropertyChanged("SelEndCheckBox");
            }
        }

        public string IsShowEndTime
        {
            get
            {
                return isShowEndTime;
            }

            set
            {
                isShowEndTime = value;
                RaisePropertyChanged("IsEndTime");
            }
        }

        public string UseTime
        {
            get
            {
                return useTime;
            }

            set
            {
                useTime = value;
                RaisePropertyChanged("UseTime");
            }
        }
    }
}
